﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.HideFlags
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>Bit mask that controls object destruction, saving and visibility in inspectors.</para>
  /// </summary>
  [Flags]
  public enum HideFlags
  {
    /// <summary>
    ///   <para>A normal, visible object. This is the default.</para>
    /// </summary>
    None = 0,
    /// <summary>
    ///   <para>The object will not appear in the hierarchy.</para>
    /// </summary>
    HideInHierarchy = 1,
    /// <summary>
    ///   <para>It is not possible to view it in the inspector.</para>
    /// </summary>
    HideInInspector = 2,
    /// <summary>
    ///   <para>The object will not be saved to the Scene in the editor.</para>
    /// </summary>
    DontSaveInEditor = 4,
    /// <summary>
    ///   <para>The object is not editable in the Inspector.</para>
    /// </summary>
    NotEditable = 8,
    /// <summary>
    ///   <para>The object will not be saved when building a player.</para>
    /// </summary>
    DontSaveInBuild = 16, // 0x00000010
    /// <summary>
    ///   <para>The object will not be unloaded by Resources.UnloadUnusedAssets.</para>
    /// </summary>
    DontUnloadUnusedAsset = 32, // 0x00000020
    /// <summary>
    ///   <para>The object will not be saved to the Scene. It will not be destroyed when a new Scene is loaded. It is a shortcut for HideFlags.DontSaveInBuild | HideFlags.DontSaveInEditor | HideFlags.DontUnloadUnusedAsset.</para>
    /// </summary>
    DontSave = DontUnloadUnusedAsset | DontSaveInBuild | DontSaveInEditor, // 0x00000034
    /// <summary>
    ///   <para>The GameObject is not shown in the Hierarchy, not saved to Scenes, and not unloaded by Resources.UnloadUnusedAssets.</para>
    /// </summary>
    HideAndDontSave = DontSave | NotEditable | HideInHierarchy, // 0x0000003D
  }
}
